var express = require('express');
var router = express.Router();
var auth=require('../dao/auth')


/* GET home page. */
router.get('/', function (req, res, next) {
    res.render('index', {
      title: 'Express'
    });
});

router.get('/auth', function (req, res, next) {
   auth.getToken(req,res,next);
});

module.exports = router;
